//
// Created by Administrator on 2022/6/14.
//

#ifndef CRANEINFRONT_ALOG_H
#define CRANEINFRONT_ALOG_H

#include "android/log.h"

//#define DEBUG

static const char *TAG = "tag_jni";
#ifdef DEBUG
#define LOGD(fmt, args...) __android_log_print(ANDROID_LOG_DEBUG, TAG, fmt, ##args)
#define LOGI(fmt, args...) __android_log_print(ANDROID_LOG_INFO,  TAG, fmt, ##args)
#define LOGE(fmt, args...) __android_log_print(ANDROID_LOG_ERROR, TAG, fmt, ##args)
#else
#define LOGD(fmt, args...)
#define LOGI(fmt, args...)
#define LOGE(fmt, args...)
#endif

#endif //CRANEINFRONT_ALOG_H
